-- GENERATED SPELL FOR [Acidic Swamp Ooze] --


function spell0_4393(pUnit, Event) --@Bubbling Ooze,Self--
pUnit:FullCastSpellOnTarget(43135,pUnit)
pUnit:RegisterEvent('Sorts_4393', 23000, 1)
end

function Sorts_4393(pUnit, Event)
local choix_sorts_4393 = math.random(0, 0)
if choix_sorts_4393 == 0 then
pUnit:RegisterEvent('spell0_4393', 1, 1)
end
end

function mob4393_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4393', math.random(1500, 3000), 1)
end

function mob4393_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4393_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4393_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4393, 1, 'mob4393_Action')
RegisterUnitEvent(4393, 2, 'mob4393_Leave')
RegisterUnitEvent(4393, 3, 'mob4393_Kill')
RegisterUnitEvent(4393, 4, 'mob4393_Die')
